package ThreadArray;

import java.util.List;

/**
 * Created by wangyg 
 * on 2017/3/24 11:28
 */
public class ItretorThread extends Thread {
	private List list;

	public ItretorThread(List list) {
		this.list = list;
	}

	public void run() {
		for (Object object : list) {
			System.out.println("迭代线程打印结果:"+object);
		}
	}
}
